const { defineConfig } = require('@vue/cli-service')
module.exports = defineConfig({
  transpileDependencies: [
    'vuetify'
  ],
  devServer: {
    proxy: {
      "/api":{
        target: 'http://www.sntdq.com/',
        onProxyReq: function (proxyReq) {
          proxyReq.removeHeader('origin')
        },
        changOrigin: true,
        pathRewrite:{
          "^/api":""
        }
      }
    }
  },
  lintOnSave: false
})
